<!-- START of Symfony2 Web Debug Toolbar -->
{% if 'normal' != position %}
    <div style="clear: both; height: 40px;"></div>
{% endif %}

<div class="sf-toolbarreset"
    {% if 'normal' != position %}
    style="position: {{ position }};
        background-color: #f7f7f7;
            background-image: -moz-linear-gradient(-90deg, #e4e4e4, #ffffff);
            background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#e4e4e4), to(#ffffff));
            bottom: 0;
            left:0;
            margin:0;
            padding: 0;
            z-index: 6000000;
            width: 100%;
            border-top: 1px solid #bbb;
            font: 11px Verdana, Arial, sans-serif;
            text-align: left;
            color: #2f2f2f;"
    {% endif %}
>

    <span style="display: inline-block; min-height: 24px; width: 40px; float: right;">&nbsp;</span>

    {% for name, template in templates %}
        {{ template.renderblock('toolbar', {
            'collector': profile.getcollector(name),
            'profiler_url': profiler_url,
            'token': profile.token,
            'name': name,
            'verbose': verbose
          })
        }}
    {% endfor %}

    {% if 'normal' != position %}
        <span style="display:block; position:absolute; top:12px; right:10px; width:14px; height:14px; cursor: pointer;">
            <img width="15" height="15" alt="Hide Toolbar" src="" onclick="this.parentNode.parentNode.style.display = 'none'; (this.parentNode.parentNode.previousElementSibling || this.parentNode.parentNode.previousSibling).style.display = 'none';" />
        </span>
    {% endif %}
</div>
<!-- END of Symfony2 Web Debug Toolbar -->
